<div class="title"><span class="title_icon"><img src="<?php echo base_url().'asset/'; ?>images/bullet111.gif" alt="" title="" /></span>My cart</div>
        
<div class="feat_prod_box_details">
<?php 
if($this->cart->total_items()==0)
	echo 'Khong ton tai san pham trong gio hang';
else
{
	echo '<table class="cart_table">
            	<tr class="cart_title">
                	<td>Item pic</td>
                	<td>Product name</td>
                    <td>Unit price</td>
                    <td>Qty</td>
                    <td>Total</td>
					<td>Options</td>
                </tr>';	
	foreach($this->cart->contents() as $hoa)
	{
		$tth = $this->mhoa->thongtinhoa($hoa['id']);
		echo '<tr>
             		<td><img src="'.base_url().'asset/upload/'.$tth->hinhanh.'" alt="" title="" border="0" class="cart_thumb" width="26" height="25" /></td>
                	<td>'.$hoa['name'].'</td>
                    <td>'.$hoa['price'].'$</td>
                    <td>'.$hoa['qty'].'</td>
                    <td>'.$hoa['price']*$hoa['qty'].'$</td>
					<td>'.anchor('shoppingcart/xoasanpham/'.$hoa['rowid'], 'Delete').'</td>
                </tr>';
	}
	
	echo '</table>';
	
	/*
   <a href="#" class="continue">&lt; continue</a>
   <a href="#" class="checkout">checkout &gt;</a>
   */
}
?>           
</div>	
            